package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.CheckItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CheckitemMapper extends BaseMapper<CheckItem> {
    @Select("select checkitem_id from t_checkgroup_checkitem where checkgroup_id=#{gid}")
    List<Integer> findCheckItemIdsByGroupId(@Param("gid") int gid);
}
